﻿using System;
using Microsoft.SharePoint;

namespace MS.InformationManagement.Support.Constants
{
    public sealed class CustomSiteColumns
    {

        #region SP BuiltIn fields

        public static readonly String FIELD_SP_ID = "ID";
        public static readonly String FIELD_SP_CONTENTTYPE = "ContentType";
        public static readonly String FIELD_SP_CREATED = "Created";
        public static readonly String FIELD_SP_SERVER_URL = "ServerUrl";
        public static readonly String FIELD_SP_CREATED_BY = "Author";
        public static readonly String FIELD_SP_DOC_ICON = "ows_DocIcon";



        #endregion

        #region TRD FIELDs

        public static readonly String Value = "Value";
        public static readonly String FIELD_REMITENTES_TIPO_DISPLAYNAME = "Tipo Remitente";
        public static readonly String FIELD_REMITENTES_NIT_CEDULA_NAME = "Remitentes_NIT_Cedula";
        public static readonly String FIELD_REMITENTES_NOMBRES_NAME = "Remitentes_Nombres";
        public static readonly String FIELD_REMITENTES_APELLIDOS_NAME = "Remitentes_Apellidos";
        public static readonly String FIELD_DOCUMENT_MEDIO_DISPLAYNAME = "Medio Recepción";
        public static readonly String FIELD_REMITENTE_CIUDADANO = "Ciudadano";
        public static readonly String FIELD_REMITENTE_EMPRESA = "Empresa";
        public static readonly String FIELD_SECTION = "Secci_x00f3_n";
        public static readonly String FIELD_SERIE = "Serie";
        public static readonly String FIELD_TIPOS_DOCUMENTALES = "TiposDocumentales";

        #endregion

        #region Document Set

        public static readonly String FIELD_DOCSET_FECHA_AGENDADO = "ScheduleDate";
        public static readonly String FIELD_DOCSET_NAME = "FileLeafRef";
        public static readonly String FIELD_DOCSET_ASUNTO = "Document_Asunto";
        public static readonly String FIELD_DOCSET_DESCRIPCION = "DocumentSetDescription";
        public static readonly String FIELD_DOCSET_SUBSECCION = "Document_Subseccion";
        public static readonly String FIELD_DOCSET_TRD = "Document_TRD";
        public static readonly String FIELD_DOCSET_ID_RADICADO = "Document_Radicado";
        public static readonly String FIELD_DOCSET_UNIQUE_ID = "_dlc_DocId";
        public static readonly String FIELD_DOCSET_DOCUMENTID = "_dlc_DocIdUrl";
        public static readonly string FIELD_DOCSET_DESTINATARIO = "Document_Int_Destinatario";
        public static readonly string FIELD_DOCSET_DEPARTMNET = "Document_Department";
        public static readonly String FIELD_DOCSET_TRACEABILITY = "Registro Histórico";
        public static readonly string FIELD_DOCSET_ATTACHED_DOCUMENTS = "Documentos Adjuntos";
        public static readonly string FIELD_DOCSET_KIND = "Document_Kind";
        public static readonly string FIELD_DOCSET_INTERNAL_RECEPTION = "Document_Internal_Reception";
        public static readonly string FIELD_DESCRIPTION = SPBuiltInFieldId.Description.ToString();
        public static readonly string FIELD_CURRENT_ACTION = "Document_CurrentAction";
        public static readonly string FIELD_DOCSET_SENDERRECEPT = "Document_SendDest";
        public static readonly string FIELD_DOCUMENT_DOCUMENTAL_TYPE = "Document_Documental_Type";
        public static readonly string FIELD_DOCUMENT_DCOUMENTAL_TYPE_ID = "Document_Documental_Type_ID";
        public static readonly string FIELD_DOCUMENT_RADICADOR = "Document_Radicador";
        public static readonly string FIELD_DOCUMENT_EXPEDIENTE_ID = "Expediente_Id";
        public static readonly string FIELD_DOCUMENT_TIPO_DE_ANEXO = "Document_Apend_Kind";
        public static readonly string FIELD_DOCUMENT_FILED = "Document_Filed";
        public static readonly string FIELD_DOCUMENT_INITIAL_TYPE = "Document_Initial_Type";
        public static readonly string FIELD_DOCUMENT_ACTA_ID = "Document_Id_Acta";
        public static readonly string FIELD_DOCUMENT_DELIVERY_MEAN = "Document_Delivery_Mean1";
        public static readonly string FIELD_DOCUMENT_DELIVERY_MEAN_ID = "Document_Delivery_Mean_ID";
        public static readonly string FIELD_DOCUMENT_SHIPPING_GUIDE = "Document_Shipping_Guide";
        public static readonly string FIELD_DOCUMENT_DELIVERY_LOG = "Document_Delivery_Log";

        #region Document Status

        public static readonly string FIELD_DOCUMENT_STATUS_FILED = "Document_Status_Filed";
        public static readonly string FIELD_DOCUMENT_STATUS_PRINTED = "Document_Status_Printed";
        public static readonly string FIELD_DOCUMENT_STATUS_WINDOW = "Document_Status_Window";
        public static readonly string FIELD_DOCUMENT_STATUS_WEIGHT = "Document_Status_Weight";
        public static readonly string FIELD_DOCUMENT_STATUS_CAPTURED = "Document_Status_Captured";
        public static readonly string FIELD_DOCUMENT_STATUS_SENT = "Document_Status_Sent";
        public static readonly string FIELD_DOCUMENT_STATUS_RETURNED = "Document_Status_Returned";
        public static readonly string FIELD_DOCUMENT_STATUS_DELIVERED = "Document_Status_Delivered";
        public static readonly string FIELD_DOCUMENT_STATUS_CANCEL = "Document_Status_Cancel_Delivery";
        public static readonly string FIELD_DOCUMENT_MOTIVO_RECHAZO = "Document_Rejection_Shipping";

        
        #endregion

        #region ContentType Radicado Empresa

        public static readonly String FIELD_DOCUMENT_NIT = "Document_Nit";
        public static readonly String FIELD_DOCUMENT_RAZON = "Document_Razon";
        public static readonly String FIELD_DOCUMENT_SIGLA = "Document_Sigla";
        public static readonly String FIELD_DOCCUMENT_REPRESENTANTE = "Document_Representante";
        public static readonly String FIELD_MAIL_DELIVERIES = "Mail_Deliveries";
        public static readonly String FIELD_DOCUMENT_DELIVERY_DATE = "Document_Delivery_Date";

        #endregion

        #region ContentType Radicado

        public static readonly String FIELD_DOCUMENT_RADICADO = "_dlc_DocId";
        public static readonly String FIELD_DOCUMENT_TRD = "Document_TRD";
        public static readonly String FIELD_DOCUMENT_SUBSECCION = "Document_Subseccion";
        public static readonly String FIELD_DOCUMENT_ASUNTO = "Document_Asunto";
        public static readonly String FIELD_DOCUMENT_STATUS = "Document_Status";
        public static readonly String FIELD_DOCUMENT_STATUS_0 = "Document_Status_0";
        public static readonly String FIELD_DOCUMENT_CATEGORY = "Document_Category";
        public static readonly String FIELD_DOCUMENT_CATEGORY_0 = "Document_Category_0";
        public static readonly String FIELD_DOCUMENT_COUNTRY = "Document_Country";
        public static readonly String FIELD_DOCUMENT_COUNTRY_0 = "Document_Country_0";
        public static readonly String FIELD_DOCUMENT_DEPARTMENT = "Document_Department";
        public static readonly String FIELD_DOCUMENT_DEPARTMENT_0 = "Document_Department_0";
        public static readonly String FIELD_DOCUMENT_REMITENTE_INTERNO = "Documents_Remitente_Interno";
        public static readonly String FIELD_DOCUMENT_RADICADO_PADRE = "Document_Radicado_Padre";
        public static readonly String FIELD_DOCUMENT_MAXRESPONSEDATE = "MaxResponseDate";
        public static readonly String FIELD_DOCUMENT_RESPONSETIME = "ResponseTime";
        public static readonly String FIELD_DOCUMENT_ATTACHEDDOCUMENTS = "AttachedDocuments";
        public static readonly String FIELD_DOCUMENT_IS_MAIN = "Document_Main";
        public static readonly String FIELD_DOCUMENT_TRACEABILITY_LOG = "DocumentTraceability";
        public static readonly String FIELD_DOCUMENT_OBSERVACIONES_ENVIO = "Document_Observaciones_Envio";
        
        #endregion

        #region [Content Type Radicado de Salida]

        public static readonly String FIELD_DOCUMENT_PRINTDATE = "Document_Printing_Date";
        public static readonly String FIELD_DOCUMENT_RESENTQTY = "Document_Forward_QTY";
        public static readonly String FIELD_DOCUMENT_COPIESQTY = "Document_Copies_QTY";

        #endregion

        #region ContentType Base Document

        public static readonly String FIELD_DOCUMENT_PHONE = "Document_Phone";
        public static readonly String FIELD_DOCUMENT_ADDRESS = "Document_Address";
        public static readonly String FIELD_DOCUMENT_EMAIL = "Document_Email";
        public static readonly String FIELD_DOCUMENT_DOC_TYPE = "Document_Doc_Type";
        public static readonly String FIELD_DOCUMENT_DESTINATARIO = "Document_Destinatario";
        public static readonly String FIELD_DOCUMENT_MEDIO = "Document_Medio";
        public static readonly String FIELD_DOCUMENT_FOLIOS = "Document_Folios";
        public static readonly String FIELD_DOCUMENT_FOLIOS_ANEX = "Document_Folios_Anex";
        public static readonly String FIELD_DOCUMENT_OBSERVACIONES = "Document_Observaciones";
        public static readonly String FIELD_DOCUMENT_OBSERVACIONES_ADMIN = "Document_Observaciones_Admin";
        public static readonly String FIELD_DOCUMENT_CELLPHONE = "Glb_Cellphone";
        #endregion

        #region ContentType Radicado Persona

        public static readonly String FIELD_DOCUMENT_CEDULA = "Document_Cedula";
        public static readonly String FIELD_DOCUMENT_NOMBRES = "Document_Nombres";
        public static readonly String FIELD_DOCUMENT_APELLIDO1 = "Document_Apellido1";
        public static readonly String FIELD_DOCUMENT_APELLIDO2 = "Document_Apellido2";

        #endregion

        #endregion

        #region Archive

        public static readonly String FIELD_ARCHIVE_ASSIGNED = "Document_Assigned";
        public static readonly String FIELD_ARCHIVE_APPROVAL = "Document_Approval";
        public static readonly String FIELD_ARCHIVE_RESPONSE = "Document_Response";
        public static readonly String FIELD_ARCHIVE_REQUEST = "Document_Request";

        #endregion

        #region Solicitud VoBo

        public static readonly String FIELD_VOBO_ID = "VoBo_DocumentId";
        public static readonly String FIELD_VOBO_DOC_OWNER = "VoBo_DocumentOwner";
        
        #endregion

        #region Contact Fiedls

        public const string FLD_CONTACT_ID = "Contact_ID";
        public const string FLD_CONTACT_ADDRESS = "Contact_Address";
        public const string FLD_CONTACT_PHONE = "Contact_Phone";
        public const string FLD_CONTACT_EMAIL = "Contact_Email";
        public const string FLD_CONTACT_INITIALS = "Contact_Initials";
        public const string FLD_CONTACT_BUSINESS_NAME = "Contact_Business_Name";
        public const string FLD_CONTACT_REPRESENTATIVE = "Contact_Representative";
        public const string FLD_CONTACT_NAMES = "Contact_Names";
        public const string FLD_CONTACT_FIRST_NAME = "Contact_First_Name";
        public const string FLD_CONTACT_LAST_NAME = "Contact_Last_Name";

        #endregion

        #region Copias radicados Fiedls

        public const string FLD_COPY_CONTACT_ID = "CC_Contact_ID";
        public const string FLD_COPY_CONTACT_ADDRESS = "CC_Contact_Address";
        public const string FLD_COPY_CONTACT_PHONE = "CC_Contact_Phone";
        public const string FLD_COPY_CONTACT_EMAIL = "CC_Contact_Email";
        public const string FLD_COPY_REPRESENTANTE = "CC_Document_Representante";
        public const string FLD_COPY_TRACEABILITY = "CC_DocumentTraceability";
        public const string FLD_COPY_NAME = "CC_Document_Nombres";
        public const string FLD_COPY_ENVIO_NAME = "CC_Document_Delivery_Mean1";
        public const string FLD_COPY_ENVIO_ID = "CC_Document_Delivery_Mean_ID";
        public const string FLD_COPY_PESADO = "CC_Status_WighUp";
        public const string FLD_COPY_ENVIADO = "CC_Status_Sent";
        public const string FLD_COPY_DEVUELTO = "CC_Status_Return";
        public const string FLD_COPY_STATUS_CANCEL = "CC_Status_Cancel_Delivery";
        public const string FLD_COPY_MOTIVO_RECHAZO = "CC_Rejection_Shipping";
        public const string FLD_COPY_DOCUMENT_PRINTDATE = "CC_Document_Printing_Date";
        public const string FLD_IS_COPY = "Document_Copy";
        public const string FLD_COPY_DELIVERED = "CC_Status_Delivered";
        public const string FLD_COPY_COMMENTS = "CC_Observaciones_Envio";
        public const string FLD_PRINT_COPY = "Print_doc_Copy";

        #endregion

        #region Fields Rol

        public static readonly String FIELD_DISPLAY_ROLE_LOOKUP = "Tipo Role :";
        public static readonly String FIELD_INTERNAL_NAME_ROLE_LOOKUP = "ParentRol";
        public static readonly String FIELD_INTERNAL_NAME_ROLE_SHOW = "Role_Name";
        public static readonly String FIELD_INTERNAL_USUARIO_ROL = "Role_User";
        public static readonly String FIELD_INTERNAL_PAGE_ROL = "Role_Page";
        public static readonly String FIELD_INTERNAL_PERFIL = "Perfil_User";
        public static readonly String FIELD_INTERNAL_ROL_RIBBON_ACTION = "Role_Ribbon_Action";
        public static readonly String FIELD_INTERNAL_ROL_TAB_ACTION = "Role_Tab_Action";
        public static readonly String FIELD_INTERNAL_ROLES_PERFIL = "Tipo_x0020_Role_x0020__x003A_";
        
        #endregion

        #region Solicitud Anulacion

        public static readonly String FIELD_SOLICITUD_ANULACION_ID_RADICADO = "Anulacion_Id_Radicado";
        public static readonly String FIELD_SOLICITUD_ANULACION_ID_RADICADO_INTERNO = "Anulacion_Id_Interno";
        public static readonly String FIELD_SOLICITUD_ANULACION_LIST_TARGET = "Anulacion_List_Target";
        public static readonly String FIELD_SOLICITUD_ANULACION_OBSERVACIONES = "Anulacion_Observaciones";
        public static readonly String FIELD_SOLICITUD_ANULACION_OBSERVACIONES_ADMIN = "Anulacion_ObservacionesAdmin";
        public static readonly String FIELD_SOLICITUD_ANULACION_ESTADO = "Anulacion_Estado";
        public static readonly String FIELD_SOLICITUD_ANULACION_USER = "Anulacion_User";
        public static readonly String FIELD_SOLICITUD_ANULACION_DEPARTAMENTO = "Anulacion_Departamento";

        #endregion

        #region Solicitud Prestamos

        public static readonly String FIELD_SOLICITUD_PRESTAMOS_USER_SOLICITUD = "Prestamos_User_Solicitud";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_OBS_SOLICITUD = "Prestamos_Obs_Solicitud";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_USER_DEPT_SOLICITUD = "Prestamos_UserDep_Solicitud";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_USER_PRESTAMO = "Prestamos_User_Owner";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_OBSERVACIONES_PRESTAMO = "Prestamos_Obs_Prestamo";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_USER_DEPT_PRESTAMO = "Prestamos_UserDep_Prestamo";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_ID_RADICADO = "Prestamos_Id";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_TIPO = "Prestamos_Tipo";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_FECHA_PRESTAMO = "Prestamos_FechaPrestamo";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_FECHA_DEVOLCION = "Prestamos_FechaDevolucion";
        public static readonly String FIELD_SOLICITUD_PRESTAMOS_ESTADO = "Prestamos_Estado";

        #endregion

        #region [Tipos Documentales]

        public static readonly String FIELD_TEMPLATE_CREATION_DATE = "TemplateCreationDate";
        public static readonly String FIELD_VERSION = "TemplateVersion";
        public static readonly String FIELD_CODE = "Code";

        #endregion

        #region expediente

        public static readonly string FIELD_EXPEDIENTE_ID = "Expediente_Id";
        public static readonly string FIELD_EXPEDIENTE_SUBSECCION = "Expediente_SubSeccion";
        public static readonly string FIELD_EXPEDIENTE_CODIGO = "Expediente_Codigo";
        public static readonly string FIELD_EXPEDIENTE_SUBSERIE = "Expediente_Subserie";
        public static readonly string FIELD_EXPEDIENTE_SUBJECT = "Expediente_Subject";
        public static readonly string FIELD_EXPEDIENTE_START = "Expediente_Start";
        public static readonly string FIELD_EXPEDIENTE_END = "Expediente_End";
        public static readonly string FIELD_EXPEDIENTE_START_FOLIO = "Expediente_Start_Folio";
        public static readonly string FIELD_EXPEDIENTE_END_FOLIO = "Expediente_End_Folio";
        public static readonly string FIELD_EXPEDIENTE_LOCATION = "Expediente_Location";
        public static readonly string FIELD_EXPEDIENTE_LOCATION_KIND = "Expediente_Location_Kind";
        public static readonly string FIELD_EXPEDIENTE_ASSIGNED = "Glb_Assigned";
        public static readonly string FIELD_EXPEDIENTE_NOTES = "Expediente_Notes";

        #endregion

        #region [Secciones]

        public static readonly String FIELD_USER_IN_CHARGE = "Usuario Encargado Correspondencia";
        public static readonly String FIELD_SECURITY_GROUP = "Grupo";
        public static readonly String FIELD_SECURITY_GROUP_INTERNAL_NAME = "SecurityGroup";
        public static readonly String FIELD_SECCION_PADRE_INTERNAL_NAME = "Secci_x00f3_n_x0020_Padre";

        #endregion

        #region [Fondos]

        public static readonly String FIELD_BACKDROP_VERSION = "RetentionTableVersion";
        public static readonly String FIELD_BACKDROP_PARENT = "Fondo al que Pertenece";

        #endregion

        #region Document Links

        public static readonly String FIELD_LINK_DOC_TARGET_ID = "LinkDoc_Target_Id";
        public static readonly String FIELD_LINK_DOC_TARGET_LIST = "LinkDoc_Target_List"; 

        #endregion

        #region Incomming Documents

        public static readonly string FIELD_INCOMMING_RADICADO = "Incomming_doc_radicado";
        public static readonly string FIELD_INCOMMING_OWNER = "Incomming_doc_owner";
        public static readonly string FIELD_INCOMMING_DEPARTMENT = "Incomming_doc_department";
        public static readonly string FIELD_INCOMMING_DOCUMENTAL_TYPE = "Incomming_doc_DocumentalType";
        public static readonly string FIELD_INCOMMING_INITIAL_TYPE = "Incomming_doc_InitialType";
        public static readonly string FIELD_INCOMMING_SENDER = "Incomming_doc_Sender";

        #endregion

        #region Fields Medios de envio

        public static readonly String FIELD_IS_SECURE_DELIVERY = "IsSecureDelivery";
        public static readonly String FIELD_DELIVERY_DATE = "DeliveryDate";
        public static readonly String FIELD_DELIVERY_SENT = "Delivery_Sent";

        #endregion

        #region Printed Documents

        public static readonly String FIELD_OWNER_DEPTO = "Document_Area";
        public static readonly String FIELD_PRINTED_LIBRARY = "LibraryName";
        public static readonly String FIELD_PRINTED_DOC_ID = "DocumentID";
        public static readonly String FIELD_WINDOW_RECEIVED_DELIVERY = "Envio";

        #endregion

        #region Public Pages

        public static readonly String FIELD_PUBLIC_PAGE_NOTES = "Public_Pages_Notes";

        #endregion

        #region Search History

        public static readonly String SEARCH_OWNER = "Search_Owner";
        public static readonly String SEARCH_CONFIG = "Search_Config";
        public static readonly String SEARCH_DATE = "Search_Date";

        #endregion

        #region Tomos

        public static readonly String FIELD_VOLUME_FLOOR = "Volume_Floor";
        public static readonly String FIELD_VOLUME_SHELF = "Volume_Shelf";
        public static readonly String FIELD_VOLUME_SIDE = "Volume_Side";
        public static readonly String FIELD_VOLUME_PANEL = "Volume_Panel";
        public static readonly String FIELD_VOLUME_BOX = "Volume_Box";
        public static readonly String FIELD_VOLUME_FOLDER = "Volume_Folder";
        public static readonly String FIELD_VOLUME_INITIAL_DATE = "Volume_Initial_Date";
        public static readonly String FIELD_VOLUME_FINAL_DATE = "Volume_Final_Date";
        public static readonly String FIELD_VOLUME_ID = "Volume_Id";

        #endregion

        #region Festivos

        public static readonly string FIELD_FECHA_FESTIVO = "Festivo_Date";

        #endregion
    }
}
